package com.lijianan.service;

import com.lijianan.entity.MeetingRoom;

import java.util.Date;
import java.util.List;

public interface MeetingRoomService {
    List<MeetingRoom> siftMeetingRoom(Date use_time_start, Date use_time_end
            , Integer attendee_count, List<String> equipmentNames);

    boolean addMeetingRoom(String name, String type, Integer seating_capacity, Double price_per_hour
            , List<String> equipmentNames);

    boolean changeStatusToLock(Integer room_id);

    boolean changeStatusToSchedule(Integer room_id);

    boolean updateMeetingRoom(Integer room_id, String name, String type, Integer seating_capacity, Double price_per_hour
            , List<String> equipmentNames);

    boolean deleteMeetingRoom(Integer room_id);

    boolean changeStatusToFree(Integer room_id);

    boolean changeStatusToUse(Integer room_id);

    boolean changeStatusToRepair(Integer room_id);

    MeetingRoom selectByName(String name);

    MeetingRoom selectByRoomId(Integer room_id);

    List<MeetingRoom> selectByStatusForSchedule();

    List<MeetingRoom> selectByStatusForFree();

    List<MeetingRoom> selectByStatusForRepair();

    List<MeetingRoom> selectAll();
}
